notebook: Protect against invalid allocations
authorBenjamin Otte <otte@redhat.com>
Tue, 17 Mar 2015 15:45:05 +0000 (16:45 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 18 Mar 2015 14:14:47 +0000 (15:14 +0100)
commit0529e15d61e9e23ad16562d93491ed25f96eef77
tree7b79820707e51ef6fabdb9f58802a5c82647a6d6
parentdcfa55ac7e119f8ae8e5670291fdd20968fc5a58
notebook: Protect against invalid allocations

A widget can be mapped but not have a size allocated yet. In that case
avoid computing a broken rectangle.

https://bugzilla.gnome.org/show_bug.cgi?id=746301
gtk/gtknotebook.c